<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img{
            width: 600px;
        }
    </style>
</head>
<body>
    <img src="http://inews.gtimg.com/newsapp_match/0/11367332327/0.jpg" alt="">
    <script>
        window.onload=function(){
            console.log("看到了,加载完了");
        }
    </script>
</body>
</html>